package com.ceshi;

public class test {
    public static void main(String[] args) {
        System.out.println(Runtime.getRuntime().freeMemory()/1024/1024 + " M");

        System.out.println(Runtime.getRuntime().totalMemory()/1024/1024 + " M");

        System.out.println(Runtime.getRuntime().maxMemory()/1024/1024 + " M");

    }

}
